package com.bw.a2207a.view.adapter

import android.content.Context
import com.bw.a2207a.R
import com.bw.a2207a.bean.SearchHistoryBean
import com.zhy.adapter.recyclerview.CommonAdapter
import com.zhy.adapter.recyclerview.base.ViewHolder

/**
 *
 * @ClassName: HomeGoodsAdapter
 * @Description: java类作用描述
 * @Author: zhangyanchao
 * @CreateDate: 2024/9/19 8:42 AM
 * @Version: 1.0
 */
class SearchHistoryAdapter(context: Context?, layoutId: Int, data: List<SearchHistoryBean>) :
    CommonAdapter<SearchHistoryBean>(context, layoutId, data) {
    override fun convert(holder: ViewHolder?, t: SearchHistoryBean?, position: Int) {
        holder?.setText(R.id.goods_tv_id, t?.content)
    }
}